// 隐私协议
<template>
  <view class="page">
    <rich-text :nodes="privacy"></rich-text>
  </view>
</template>

<script>
export default {
  data() {
    return {
      privacy: ''
    }
  },
  onLoad() {
    this.getlist()
  },
  methods: {
    async getlist() {
      const res = await this.$http.post('/api/kuyou/order/config/getdetail', {
        name: 'privacy'
      })
      if (res.code == 200) {
        this.privacy = res.data[0].value
      }
    }
  }
}
</script>

<style lang="less" scoped>
.page {
  padding: 24rpx;
  background-color: #f7f7f7;
  min-height: 100vh;
}
</style>
